//
//  TCMapTableViewCell.m
//  Project_B
//
//  Created by dllo on 15/11/28.
//  Copyright © 2015年 张闯. All rights reserved.
//

#import "TCMapTableViewCell.h"
#define WIDTH [[UIScreen mainScreen] bounds].size.width / 375
#define HEIGHT [[UIScreen mainScreen] bounds].size.height / 667
@implementation TCMapTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.image = [[UIImageView alloc]init];
        self.image.layer.borderWidth = 1;
        self.image.layer.borderColor = [UIColor colorWithRed:60.0 / 255 green:149.0 / 255 blue:58.0 / 255 alpha:1].CGColor;
        [self.contentView addSubview:self.image];
        
        self.contentView.backgroundColor = [UIColor colorWithRed:245.0 / 255 green:240.0 / 255 blue:231.0 / 255 alpha:1];
    }
    return  self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.image.frame = CGRectMake(50*WIDTH, 10*HEIGHT, 275*WIDTH, 290*HEIGHT);
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
